# -*- coding: utf-8 -*-

################################################################################
## Form generated from reading UI file 'main_window.ui'
##
## Created by: Qt User Interface Compiler version 6.9.2
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################

from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
    QMetaObject, QObject, QPoint, QRect,
    QSize, QTime, QUrl, Qt)
from PySide6.QtGui import (QAction, QBrush, QColor, QConicalGradient,
    QCursor, QFont, QFontDatabase, QGradient,
    QIcon, QImage, QKeySequence, QLinearGradient,
    QPainter, QPalette, QPixmap, QRadialGradient,
    QTransform)
from PySide6.QtWidgets import (QApplication, QHBoxLayout, QLabel, QMainWindow,
    QMenu, QMenuBar, QSizePolicy, QSpinBox,
    QStatusBar, QToolBar, QVBoxLayout, QWidget)
import images_rc

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        if not MainWindow.objectName():
            MainWindow.setObjectName(u"MainWindow")
        MainWindow.resize(800, 600)
        self.action_Open = QAction(MainWindow)
        self.action_Open.setObjectName(u"action_Open")
        icon = QIcon()
        icon.addFile(u":/images/hardware/add_port.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
        self.action_Open.setIcon(icon)
        self.action_Close = QAction(MainWindow)
        self.action_Close.setObjectName(u"action_Close")
        self.action_Close.setIcon(icon)
        self.action_Setup = QAction(MainWindow)
        self.action_Setup.setObjectName(u"action_Setup")
        icon1 = QIcon()
        icon1.addFile(u":/images/hardware/show_data.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
        self.action_Setup.setIcon(icon1)
        self.centralwidget = QWidget(MainWindow)
        self.centralwidget.setObjectName(u"centralwidget")
        self.verticalLayout = QVBoxLayout(self.centralwidget)
        self.verticalLayout.setObjectName(u"verticalLayout")
        self.horizontalLayout = QHBoxLayout()
        self.horizontalLayout.setObjectName(u"horizontalLayout")
        self.label = QLabel(self.centralwidget)
        self.label.setObjectName(u"label")

        self.horizontalLayout.addWidget(self.label)

        self.spinBox = QSpinBox(self.centralwidget)
        self.spinBox.setObjectName(u"spinBox")

        self.horizontalLayout.addWidget(self.spinBox)

        self.label_2 = QLabel(self.centralwidget)
        self.label_2.setObjectName(u"label_2")

        self.horizontalLayout.addWidget(self.label_2)


        self.verticalLayout.addLayout(self.horizontalLayout)

        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QMenuBar(MainWindow)
        self.menubar.setObjectName(u"menubar")
        self.menubar.setGeometry(QRect(0, 0, 800, 33))
        self.menu_M = QMenu(self.menubar)
        self.menu_M.setObjectName(u"menu_M")
        self.menu = QMenu(self.menubar)
        self.menu.setObjectName(u"menu")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QStatusBar(MainWindow)
        self.statusbar.setObjectName(u"statusbar")
        MainWindow.setStatusBar(self.statusbar)
        self.toolBar = QToolBar(MainWindow)
        self.toolBar.setObjectName(u"toolBar")
        MainWindow.addToolBar(Qt.ToolBarArea.TopToolBarArea, self.toolBar)

        self.menubar.addAction(self.menu_M.menuAction())
        self.menubar.addAction(self.menu.menuAction())
        self.menu_M.addAction(self.action_Open)
        self.menu_M.addAction(self.action_Close)
        self.menu_M.addSeparator()
        self.menu_M.addAction(self.action_Setup)
        self.toolBar.addAction(self.action_Open)
        self.toolBar.addAction(self.action_Close)
        self.toolBar.addAction(self.action_Setup)

        self.retranslateUi(MainWindow)
        self.toolBar.actionTriggered.connect(MainWindow.onActionTrigger)

        QMetaObject.connectSlotsByName(MainWindow)
    # setupUi

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QCoreApplication.translate("MainWindow", u"MainWindow", None))
        self.action_Open.setText(QCoreApplication.translate("MainWindow", u"&Open", None))
        self.action_Close.setText(QCoreApplication.translate("MainWindow", u"&Close", None))
        self.action_Setup.setText(QCoreApplication.translate("MainWindow", u"&Setup", None))
        self.label.setText(QCoreApplication.translate("MainWindow", u"\u65f6\u95f4", None))
        self.label_2.setText(QCoreApplication.translate("MainWindow", u"\u79d2", None))
        self.menu_M.setTitle(QCoreApplication.translate("MainWindow", u"\u6587\u4ef6(&M)", None))
        self.menu.setTitle(QCoreApplication.translate("MainWindow", u"\u786c\u4ef6", None))
        self.toolBar.setWindowTitle(QCoreApplication.translate("MainWindow", u"toolBar", None))
    # retranslateUi

